home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / TOMB-200.ZIP / TOMB-INS.BAT < prev   
DOS Batch File  |  1996-09-01  |  2KB  |  51 lines

  1. @ECHO OFF
  2. :CHECKSUB
  3. If -%1 == - GOTO ERROR1
  4. :INSTALL
  5. CLS
  6. ECHO     ┌────────────────────────────────────────────────────────────────────┐
  7. ECHO     └ This install file will install Tombstone Artist 2.0 to:            ┘
  8. ECHO       %1
  9. ECHO     ┌ If this directory does not exist, then it will be created.         ┐
  10. ECHO     │                                                                    │
  11. ECHO     │ To install Tombstone Artist 2.0 manually, create the directory     │
  12. ECHO     │ that you wish to stick Tombstone Artist 2.0 in.  Change to that    │
  13. ECHO     │ directory, and run the self extracting TOMB-200.EXE with the -d    │
  14. ECHO     │ parameter.                                                         │
  15. ECHO     │                                                                    │
  16. ECHO     │ If you do not wish to continue the installation, then press        │
  17. ECHO     │ CTRL-C, otherwise, press any key to continue.                      │
  18. ECHO     └────────────────────────────────────────────────────────────────────┘
  19. PAUSE >NUL
  20. If EXIST %1 goto Unzip
  21. MD %1
  22.  
  23. :UNZIP
  24. TOMB-200 -D %1
  25. IF ERRORLEVEL 1 GOTO ERROR2
  26. CD %1
  27. ECHO     ┌────────────────────────────────────────────────────────────────────┐
  28. ECHO     │ Tombstone Artist should now be installed.  To run, type:           │
  29. ECHO     │ TOMBART [ENTER]                                                    │
  30. ECHO     │                                                                    │
  31. ECHO     │ Please press any key to continue.                                  │
  32. ECHO     └────────────────────────────────────────────────────────────────────┘
  33. Pause >NUL
  34. GOTO END
  35.  
  36. :ERROR1
  37. ECHO     ┌────────────────────────────────────────────────────────────────────┐
  38. ECHO     │ Please supply a path to install Tombstone Artist 2.0 to, IE:       │
  39. ECHO     │ INSTALL C:\TOMBART [ENTER]                                         │
  40. ECHO     └────────────────────────────────────────────────────────────────────┘
  41. GOTO END
  42.  
  43. :ERROR2
  44. ECHO     ┌────────────────────────────────────────────────────────────────────┐
  45. ECHO     │ TOMB-200 was not able to unarchive some or all of the files.       │
  46. ECHO     │ Please make sure you gave a valid drive and path.                  │
  47. ECHO     └────────────────────────────────────────────────────────────────────┘
  48. GOTO END
  49.  
  50. :END
  51. SAUCE00Tombstone Artist 2.00 Installer    Tyger               ACiD Productions    199609018